<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>Insert title here</title>
</head>
<body>

	<div class="content-wrapper" th:fragment="metadata">
	<h3>元数据管理</h3> 
	   <div class="row  mb-sm">
			<div class="col-lg-6">
				<div id="metadataTable_search" class="input-group m-b ">
					<div class="input-group-btn ">
						<button class="btn btn-default fa fa-plus" id="addBtn"> </button>					
					</div>
					<input id="metadataName" name="metadataName" class="form-control"
								aria-required="true" type="text" />
					<div class="input-group-btn ">
						<button type="button" id="searchBtn" class="btn btn-default fa fa-search"></button>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-lg-12">
				<div class="panel panel-default">
					<!-- <div class="panel-heading"></div>
					<div class="col-xs-2  pull-left">
						<button class="btn btn-default fa fa-plus btn-sm " id="addBtn">添加元数据 </button>
					</div> -->
					<div class="panel-body">
						<table id="metadataTable" class="table table-striped table-hover">
							<thead>
								<tr>
									<th></th>
									<th></th>
                                 	<th>标签名</th>
                                    <th>显示名</th>
                                    <th>类型</th>
                                    <th>说明</th>
                                    <th>最后修改人</th>
                                    <th>最后修改时间</th>
                                    <th>是否启用</th>
                                    <th style="width: 140px;">操作</th>

								</tr>
							</thead>


						</table>
					</div>

				</div>
			</div>

			
		</div>

	</div>

	<div th:fragment="metadata_dialog">
		<div id="dialogMode" tabindex="-1" role="dialog" aria-labelledby="myModalLabelLarge" aria-hidden="true"
			class="modal fade">
			<div class="modal-dialog ">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" data-dismiss="modal" aria-label="Close" class="close">
							<span aria-hidden="true">&times;</span>
						</button>
						<h4 id="modelTitle" class="modal-title">编辑系统参数</h4>
					</div>
					<div class="modal-body">
						<form id="systemParamForm">
							<div class="form-group">
								<label class="control-label">参数编码 *</label> 
								<input type="text" id="systemCode" name="systemCode" required="" minlength="2" class="form-control" />
							</div>
							<div class="form-group">
								<label class="control-label">参数值 *</label> 
								<input type="text" name="systemValue" id="systemValue" required="" minlength="1" class="form-control" />
							</div>
							
							<div class="form-group">
								<label class="control-label">参数说明</label> 
								<input type="text" name="systemDesc" id="systemDesc"  class="form-control" />
								
							</div>
							
							
								<div class="checkbox c-checkbox needsclick">
                                 <label class="needsclick control-label">
                                    <input value="1" class="needsclick" type="checkbox" />
                                    <span class="fa fa-check"></span>是否编辑
                                   </label>
                              </div>
							
							<input type="hidden" id="systemId" name="systemId" value="" />
						    <input type="hidden" id="oper" name="oper" value="" />

						</form>

					</div>
					<div class="modal-footer">
						<button type="button" data-dismiss="modal" class="btn btn-default">取消</button>
						<button type="button" id="submitBtn" class="btn btn-primary">保存</button>
					</div>
				</div>
			</div>
		</div>
		
		
		
	</div>
	<div th:fragment="metadata_js">

		<script th:src="@{/business/manager/metadata/metadata.js}"></script>

	</div>
</body>
</html>